<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<title>{$webname}</title>
<load href='__PUBLIC__/Css/basic.css' />
<load href='__PUBLIC__/Css/cast.css' />
</head>
<body>
<div id="top">
	<if condition="$is_log eq true">
	{$name}，您好！ <a href="__APP__/User/logout">退出</a>
	<else />
	<a href="__APP__/User/register" class="user">注册</a> <a href="__APP__/User/login" class="user">登录</a>
	</if>
	<script type="text/javascript" src="__PUBLIC__/Js/text_adver.js"></script>
</div>
<div id="header">
	<h1><a href="###">{$webname}</a></h1>
	<div class="adver"><script type="text/javascript" src="__PUBLIC__/Js/header_adver.js"></script> </div>
</div>
<div id="nav">
	<ul>
		<li><a href="__APP__">首页</a></li>
		<volist name="nav" id="nav">
		<li><a href="__APP__/List/show/id/{$nav.id}">{$nav.category_name}</a></li>
		</volist>
	</ul>
</div>
<div id="search">
	<form method="get" action="__APP__/Search/show">
		<select name="type">
			<option selected="selected" value="title">按标题</option>
			<option value="keyword">按关键字</option>
		</select>
		<input type="text" name="inputkeyword" class="text" />
		<input type="submit" class="submit" value="搜索" />
	</form>
	<strong>TAG标签：</strong>
	<ul>
		<if condition="$tag">
		<volist name="tag" id="tag" >
		<li><a href="__APP__/Search/show/type/tag/inputkeyword/{$tag.tagname}">{$tag.tagname}({$tag.count})</a></li>
		</volist>
		</if>
	</ul>
</div>
<div id="cast">
	<h2>调查投票</h2>
	<table cellspacing="1">
		<caption>{$voteSub.title}</caption>
		<tr><th>投票项目</th><th>图示比例</th><th>百分比</th><th>得票数</th></tr>
		<if condition="$voteItem">
		<volist name="voteItem" id="voteItem">
		<tr><td>{$voteItem.title}</td><td style="text-align:left;width:{$width}px;"><img src="__PUBLIC__/Images/b{$voteItem.picnum}.jpg" style="width:{$voteItem.width}px;height:21px;" /></td><td>{$voteItem.percent}</td><td>{$voteItem.count}</td></tr>
		</volist>
		</if>
	</table>
</div>
<div id="link">
	<h2><span><a href="__APP__/Link/show" target="_blank">所有链接</a> | <a href="__APP__/Link/add" target="_blank">申请加入</a></span>友情链接</h2>
	<ul>
		<if condition="$tenTextLink">
		<volist name="tenTextLink" id="tenTextLink">
		<li><a href="{$tenTextLink.weburl}" target="_blank">{$tenTextLink.webname}</a></li>
		</volist>
		</if>
	</ul>
	<dl>
		<if condition="$tenLogoLink">
		<volist name="tenLogoLink" id="tenLogoLink">
		<dd><a href="{$tenLogoLink.weburl}" target="_blank"><img src="__PUBLIC__/Images/{$tenLogoLink.logourl}" alt="{$tenLogoLink.webname}" /></a></dd>
		</volist>
		</if>
	</dl>
</div>
<div id="footer">
	<p>Powered by <span>ZGCMS</span> (C) 2012-2050 ZGCMS Inc.</p>
	<p>Copyright (C) 2012-2050 ZGCMS. <span>ZGCMS内容管理系统</span> 版权所有</p>
</div>

</body>
</html>